package edu.sctu.zhangwang.month201506.day20150601;

/**
 * Created by Administrator on 2015/6/2 0002.
 */
public class Control {

    public String thiefDo = "偷";
    public PeopleAppbean peopleAppbean;
    public Control(PeopleAppbean peopleAppbean){
        this.peopleAppbean = peopleAppbean;
    }
    public void thiefAction(){
//        SetPeopleData setPeopleData = new SetPeopleData();
//        PeopleAppbean peopleAppbean = new PeopleAppbean();
        if (peopleAppbean.isIs_thief()) {
            if (peopleAppbean.getThiefdo().equals(thiefDo)) {
                System.out.println("小偷，在偷东西");
            }else {
                System.out.println("继续监控！");
            }
        }else {
            System.out.println("继续监控！");
        }
    }
}
